//
//  URLHeader.h
//  DBAChain
//
//  Created by Mxionlly on 2018/9/11.
//  Copyright © 2018年 Evan. All rights reserved.
//

#ifndef URLHeader_h
#define URLHeader_h


#pragma mark - 服务器域名地址

//正式环境--新用户
#define YBaseURLString    @"http://chinaa.zhimabaobao.com:8088/"
//正式环境--老用户
//#define YBaseURLString    @"http://chinaa.zhimabaobao.com/"
//测试环境
//#define YBaseURLString    @"http://120.77.35.188:8080/"

//用户登录
#define DEF_API_login      @"api/UserManager/UserLogin"
//用户注册
#define DEF_API_register   @"api/UserManager/UserRegister"
//获取验证码
#define DEF_API_getVerifyCode    @"api/SmsManager/SendSMSCode"
//忘记密码
#define DEF_API_forgetPassword   @"api/UserManager/ForgetPassword"
//修改用户密码
#define DEF_API_changePwd        @"api/UserManager/ChangePwd"
//用户信息
#define DEF_API_getUser          @"api/UserManager/GetUser"
//昵称修改
#define DEF_API_updateName       @"api/UserManager/SaveUserNickNname"
//修改手机号码
#define DEF_API_updatePhone      @"api/UserManager/SaveUserPhone"
//修改用户交易密码
#define DEF_API_setPayPassword   @"api/UserManager/ChangeWithdrawPwd"
//发送邮箱验证码
#define DEF_API_sendEmailVerifyCode @"api/SmsManager/SendEmailCode"
//绑定邮箱
#define DEF_API_bindEmail        @"api/UserManager/SaveUserEmai"
//新增认证信息
#define DEF_API_generalAuth      @"api/UserManager/AddUserAuthen"
//获取消息列表
#define DEF_API_NEWS             @"api/NoticeMessage/GetNoticeMessageList"
//获取实名认证信息
#define DEF_API_GetUserAuthen    @"api/UserManager/GetUserAuthen"
//上传头像云
#define DEF_API_uploadImg        @"api/AppSetting/UploadFilesImage"
//上传头像
#define DEF_API_uploadImgUser    @"api/AppSetting/UploadFilesImage"
//用户登出
#define DEF_API_loginOut         @"api/UserManager/UserLogout"
///反馈
#define DEF_API_feedback         @"api/UserManager/AddUserFeedback"
//合伙人申请
#define DEF_API_getPartnerApply  @"api/UserBurseManager/AddPartnerApply"

////////////////////////
//地址
////////////////////////

//获取用户收货地址列表
#define DEF_API_GetReceivingAddressList     @"api/ReceivingAddressManager/GetReceivingAddressList"
//获取用户收货地址详情
#define DEF_API_GetReceivingAddressById     @"api/ReceivingAddressManager/GetReceivingAddressById"
//删除用户收货地址
#define DEF_API_DeleteReceivingAddress      @"api/ReceivingAddressManager/DeleteReceivingAddress"
//添加收货地址
#define DEF_API_AddReceivingAddress         @"api/ReceivingAddressManager/AddReceivingAddress"
//修改收货地址
#define DEF_API_ModifyReceivingAddressn     @"api/ReceivingAddressManager/ModifyReceivingAddress"


////////////////////////
// 行权
////////////////////////
//行权列表
#define DEF_API_getExerciseOrderList     @"api/ExerciseOrder/GetExerciseOrderList"
//行权订单
#define DEF_API_getExerciseOrder         @"api/ExerciseOrder/GetExerciseOrder"
//申请行权
#define DEF_API_getAddExerciseOrder      @"api/ExerciseOrder/AddExerciseOrder"

////////////////////////
// 社区
////////////////////////
#define DEF_API_getUserCommunity  @"api/UserManager/GetUserCommunity"
//社区主页
#define DEF_API_community  @"community/overview"
//我的社区
#define DEF_API_myCommunity   @"community/myCommunity"
//社区推广级别列表
#define DEF_API_myCommunityList  @"community/levelList"

////////////////////////
//首页
////////////////////////

///获取资产包列表
#define DEF_API_GetAssetList      @"api/AssetManager/GetAssetList"
///获取资产包详细信息
#define DEF_API_GetAssetById      @"api/AssetManager/GetAssetById"

//算码支付押金
#define DEF_API_PayMinerYJ          @"miner/payDeposit"
//算码支付押金
#define DEF_API_ReturnMinerYJ       @"miner/returnDeposit"
///获取更新版本
#define DEF_API_Version      @"api/AppSetting/GetVersionInfo"


////////////////////////
//交易
////////////////////////

///获取出售和求购配置信息
#define DEF_API_TransConfig     @"api/TransactionOrderManager/GetTransactionOrderConfig"
///发布出售和求购信息
#define DEF_API_TransAdd        @"api/TransactionOrderManager/AddTransactionOrder"
///点对点交易信息
#define DEF_API_TransDian       @"api/TransactionOrderManager/TransactionOrderDian"


////////////////////////
// 资产页
////////////////////////

//获取资产包订单列表
#define DEF_API_getAssetPackageOrderList    @"api/AssetManager/GetAssetPackageOrderList"
//获取资产包订单详情
#define DEF_API_getAssetOrderById           @"api/AssetManager/GetAssetOrderById"
//买入资产包
#define DEF_API_getBuyAsset                 @"api/AssetManager/BuyAsset"
//获取转账服务费百分比
#define DEF_API_getServiceChargePercent     @"api/UserBurseManager/GetServiceChargePercent"
//转账
#define DEF_API_getTransfer                 @"api/UserBurseManager/TransferAccounts"

///--订单
//获取交易订单列表
#define DEF_API_getTransactionOrderList   @"api/TransactionOrderManager/GetTransactionOrderList"

//订单---取消订单
#define DEF_API_getCancelOrder    @"order/cancelOrder"
//订单---卖家或买家查看订单明细
#define DEF_API_getSaleOrderDetail      @"api/TransactionOrderManager/GetTransactionOrderProgressDetail"
///支付Money
#define DEF_API_getPayMoney     @"api/TransactionOrderManager/PayTransactionOrder"
///卖家确认放币
#define DEF_API_getConfirmPayGte     @"trans/confirmPayGte"
///订单申诉
#define DEF_API_getOrderRevoke    @"api/TransactionOrderManager/AppealTransactionOrder"

////----钱包
///获取钱包币的数量
#define DEF_API_getUserBurseCoinNumberList  @"api/UserBurseManager/GetUserBurseCoinNumberList"
///获取钱包记录列表
#define DEF_API_getUserBurseList  @"api/UserBurseManager/GetUserBurseList"
///获取钱包记录明细
#define DEF_API_getUserBurseInfoById    @"api/UserBurseManager/GetUserBurseInfoById"
///折线统计信息
#define DEF_API_getZhePriceDay       @"api/UserBurseManager/GetPriceRmbDay"
///交易完成--释放chinaA
#define DEF_API_releaseChinaA       @"api/TransactionOrderManager/ConfirmOrderSuccess"
///交易撤销--撤销chinaA
#define DEF_API_returnChinaA       @"api/TransactionOrderManager/ConfirmOrderFail"
///取消等待交易的订单
#define DEF_API_CancelOrder       @"api/TransactionOrderManager/CancelOrder"


//订单申诉交易及已完成列表
#define DEF_API_getOrderDetails    @"order/getOrderDetails"


#endif /* URLHeader_h */
